Skip to main content

RandomPermutation

RandomPermutation[gr] gives a pseudorandom permutation in the permutation group gr.

RandomPermutation[gr,n] gives a list of n pseudorandom permutations in the permutation group gr.

Please visit the official Wolfram Language Reference for more details and examples on core symbols.